package com.android.fragmentdemo.roomdb
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters

@Database(
    entities = [User::class, PTable::class, Pet::class],
    version = RoomConstant.ROOM_VERSION,
    exportSchema = true
)
@TypeConverters(value = [StringConverter::class, PetConverter::class])
abstract class AppRoomDataBase : RoomDatabase() {

    abstract fun userDao(): UserDao

    abstract fun pTableDao(): PTableDao
}